package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.AllotAreaSet;
import com.xmy.cultivate.entity.AllotTeacherWheel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.Staff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 校区分配教师的轮数 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2025-06-07
 */
public interface IAllotTeacherWheelService extends IService<AllotTeacherWheel> {

    Long getAllotSchoolId(Integer yearPart, Integer quarterNum, Long recruitId, Long stationNeedsId, Long areaId, Long inviterId);

    List<AllotAreaSet> getUnAddList(@Param("yearPart") Integer yearPart,
                                    @Param("quarterNum") Integer quarterNum,
                                    @Param("stationId") Long stationId,
                                    @Param("subjectsId") Long subjectsId,
                                    @Param("areaId") Long areaId);

    Long getSchoolNeedsCount(@Param("yearPart") Integer yearPart,
                                @Param("quarterNum") Integer quarterNum,
                                @Param("schoolId") Long schoolId,
                                @Param("stationId") Long stationId,
                                @Param("subjectsId") Long subjectsId,
                                @Param("areaId") Long areaId);

    Staff getStaffSchoolInfo(Integer yearPart,
                             Integer quarterNum,
                             Long teacherId
    );
}
